{% load staticfiles %}
<!doctype html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <script src="{% static 'highlight/highlight.pack.js' %}"></script>
    <link rel="stylesheet" href="{% static 'article/nav.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'highlight/styles/monokai-sublime.css' %}">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
    <title>{% block title %}小风风博客{% endblock %}</title>
</head>
<script>hljs.initHighlightingOnLoad();</script>
<body>
<nav class="navbar navbar-default navbar-fixed-top" >
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Blog</a>
        </div>
        <div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1" >
            <ul class="nav navbar-nav">
                <li><a href="/"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>主页</a></li>
                <li><a href="{% url 'about_me' %}"><span class="glyphicon glyphicon-heart-empty" aria-hidden="true"></span>关于我</a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-8">
            {% block container %}
            {% endblock %}
        </div>
        <div class="col-md-4">
            {% block right_bar%}
            {% endblock %}
            <div class="panel panel-default">
                <div class="panel-heading">友情链接</div>
                <div class="panel-body">
                    <button type="button" class="btn btn-link"></button>
                    <a class="btn btn-link" href="https://ysicing.net/">YsiCing</a>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>